#ifndef INCLUDE_markDetect
#define INCLUDE_markDetect

#include <stdio.h>
#include <iostream>

#include "opencv2/core/core.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <opencv2/legacy/legacy.hpp>
using namespace cv;
using namespace std;
#define TEST
#ifdef TEST
#define SHOW_DEBUG_IMAGES
#endif // TEST


#define thres_blocksize 7
#define thres_constvalue 10
#define minContourPoints 250
#define minContourLength 50

#define refinesCorner 0
#define UNIQUEID 1

#define thres_otsu 0
#define thres_adapt 1
#define thres_mix 2
#define thres_traversal 3
#define thres_BG 4
#include "Marker_J.hpp"
extern "C"
{
#include "C_CamDet.h"
}

int detectCamPos(Mat &frameImg, vector<Marker_J>& markVec, int thresmode);
void markDetectInit();

#endif // INCLUDE_markDetect
